type embed.openDir
7 uses
embed (current package)
embed.go#L311: return &openDir{file, f.readDir(name), 0}, nil
embed.go#L322: dir, ok := file.(*openDir)
embed.go#L400: type openDir struct {
embed.go#L406: func (d *openDir) Close() error { return nil }
embed.go#L407: func (d *openDir) Stat() (fs.FileInfo, error) { return d.f, nil }
embed.go#L409: func (d *openDir) Read([]byte) (int, error) {
embed.go#L413: func (d *openDir) ReadDir(count int) ([]fs.DirEntry, error) {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |